import{d as f,M as g,a9 as V,s as b,b as s,o as l,a as i,f as a,t as y,u as e,F as m,e as k,w as r,aK as $,g as h}from"./CtbHscGXagutd.js";import{_ as v}from"./Bkwc4mn985i4h.js";import{_ as u}from"./DxtVL4raPQMM7.js";import{_ as C}from"./Z2gk5ilr85ygF.js";/* empty css              */import"./CtybWkkwagutd.js";import"./BsAJcGVb1t8dnT.js";import"./BO-1Nlv-3PfrX1.js";const N={class:"app-page app-inbox app-document"},T={class:"app-page-header"},w={class:"app-page-body"},B={class:"app-document-content"},S=f({__name:"app-document-tag",setup(x){const c=g(),_=V(()=>c.params.subId),t=b.workspace?.useReactive(_);return(d,o)=>(l(),s("div",N,[i("div",T,[a(C),i("h1",null,y(d.$t("document.titleTag")),1)]),i("div",w,[i("div",B,[e(t)?(l(),s(m,{key:0},[e(t)._type==="tag"?(l(),s(m,{key:0},[a(e(u),{title:d.$t("document.labelTitle")},{default:r(({id:n})=>[a(e(v),{id:n,modelValue:e(t).title,"onUpdate:modelValue":o[0]||(o[0]=p=>e(t).title=p),class:"full"},null,8,["id","modelValue"])]),_:1},8,["title"]),a(e(u),{title:d.$t("document.labelColor")},{default:r(({id:n})=>[a(e($),{id:n,modelValue:e(t).color,"onUpdate:modelValue":o[1]||(o[1]=p=>e(t).color=p),class:"full"},null,8,["id","modelValue"])]),_:1},8,["title"])],64)):k("",!0)],64)):(l(),s(m,{key:1},[h(" This is not a tag! ")],64))])])]))}});export{S as default};